package io.chenglicun.modules.clc.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.chenglicun.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
* 考试发布
*
* @author HB 137664951@qq.com
* @since 1.0 2023-10-18
*/
@Data
@ApiModel(value = "考试发布")
public class ClcExamReleaseDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "发布名称")
    private String name;
    @ApiModelProperty(value = "总分")
    private Integer scoreTotal;
    @ApiModelProperty(value = "分数线")
    private Integer scoreLine;
    @ApiModelProperty(value = "考试开始时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date startTime;
    @ApiModelProperty(value = "过期时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date endTime;
    @ApiModelProperty(value = "考试时长/min(预留)")
    private Integer duration;
    @ApiModelProperty(value = "党员加分分数")
    private Integer scoreParty;
    @ApiModelProperty(value = "题库id")
    private Long bankId;
    @ApiModelProperty(value = "题库名称")
    private String bankName;
    @ApiModelProperty(value = "创建时间")
    private Date createDate;
    @ApiModelProperty(value = "更新者")
    private Long updater;
    @ApiModelProperty(value = "更新时间")
    private Date updateDate;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "逻辑删除 0：未删除 1：已删除")
    private Integer isDeleted;
    @ApiModelProperty(value = "考试发布题目列表")
    private List<ClcExamReleaseQuestionDTO> examReleaseQuestionList;
    @ApiModelProperty(value = "考试结果列表")
    private List<ClcExamResultDTO> examResultList;

}